try{(window["WAFQualtricsWebpackJsonP-cloud-1.76.0"]=window["WAFQualtricsWebpackJsonP-cloud-1.76.0"]||[]).push([[11],{19:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"e",function(){return i}),n.d(t,"d",function(){return a}),n.d(t,"c",function(){return s}),n.d(t,"b",function(){return c});var r=[],o=function(e){var t=e;return"string"==typeof e&&(t=document.getElementById(e)),t},i=function(e,t){var n;13!==e.which&&32!==e.which||(e.preventDefault(),(n=document.querySelector('button, a[href], input, select, textarea, [tabindex]:not([tabindex="-1"])'))&&n.focus(),t())},a=function(e,t,n,o){void 0===o&&(o=!1),r=r||[],e&&(r.push({elementToObserve:e,eventName:t,eventHandler:n,preventRemove:o||!1}),e.addEventListener(t,n,!1))},s=function(e){return"string"==typeof e},c=function(e){return"object"==typeof e&&e instanceof Array}},34:function(e,t){QSI.history&&!window.QTest||(QSI.historyStorage={historySessionName:"QSI_HistorySession",get useCookie(){return"sessionStorage"!==QSI.historyStorageType},get limit(){return this.useCookie?2e3:1e4},getHistorySessionData:function(){return this.useCookie?QSI.cookie.get(this.historySessionName):sessionStorage.getItem(this.historySessionName)},eraseHistorySessionData:function(){this.useCookie?QSI.cookie.erase(this.historySessionName):sessionStorage.removeItem(this.historySessionName)},setHistorySessionData:function(e){this.useCookie?QSI.cookie.set(this.historySessionName,e,0):sessionStorage.setItem(this.historySessionName,e)}},QSI.history={historyStorage:QSI.historyStorage,logVisit:function(){this.logCurrentURL(),this.logSearch(),this.startFocusTracking(),this.logReferrer()},startFocusTracking:function(){if(!this.started)try{this.started=!0,this.focusTime=this.getFocusTimeFromBrowserStorage(),this.blurTime=this.getBlurTimeFromBrowserStorage();var e=this;setInterval(function(){try{e.focused?e.focusTime+=1:e.blurTime+=1}catch(e){"undefined"!=typeof QSI&&QSI.dbg&&QSI.dbg.e&&QSI.dbg.e(e)}},1e3);var t,n=function(){try{e.focused=!0}catch(e){"undefined"!=typeof QSI&&QSI.dbg&&QSI.dbg.e&&QSI.dbg.e(e)}};n(),QSI.util.observe(window,"focus",n),QSI.util.observe(window,"blur",function(){try{e.focused=!1}catch(e){"undefined"!=typeof QSI&&QSI.dbg&&QSI.dbg.e&&QSI.dbg.e(e)}}),t=QSI.Browser.isMobile?"pagehide":"unload",QSI.util.observe(window,t,function(){try{QSI.profile.set("History","BlurTime",e.blurTime),QSI.profile.set("History","FocusTime",e.focusTime)}catch(e){"undefined"!=typeof QSI&&QSI.dbg&&QSI.dbg.e&&QSI.dbg.e(e)}})}catch(e){QSI.dbg.e(e)}},logSite:function(e,t){var n,r=this.historyStorage.getHistorySessionData();if(r){var o=(r=decodeURIComponent(r)).split("|");n=o[o.length-1].split("~")[0],r+="|"}else r="",n="";e!==n&&(r+=e+"~"+t,this.writeHistory(r))},writeHistory:function(e,t){if(null!=t&&t<=0)this.historyStorage.eraseHistorySessionData();else{t=t||QSI.historyStorageSize||QSI.global.maxCookieSize||this.historyStorage.limit;var n=encodeURIComponent(e),r=this.limitSize(n,t);try{this.historyStorage.setHistorySessionData(r)}catch(n){e=decodeURIComponent(r),this.writeHistory(e,t-500)}}},limitSize:function(e,t){if(!e.length)return e;for(t=t||this.historyStorage.limit;e.length>t;){var n=decodeURIComponent(e).split("|");n.splice(0,1),e=n.join("|"),e=encodeURIComponent(e)}return e},get:function(){var e=this.historyStorage.getHistorySessionData();return e||(e=[]),e=this.limitSize(e),decodeURIComponent(e)},logCurrentURL:function(){var e=window.location.href,t=1*new Date;this.logSite(e,t)},getReferrer:function(){return document.referrer},logSearch:function(){var e,t,n=this.getReferrer();if(n.search(/(google.com)|(bing.com)|(yahoo.com)/)>=0){var r="";n.search(/(google.com)|(bing.com)/)>=0?(e=/q=(.*?)\&/,(t=n.match(e))&&t.length&&t[1]&&(r=t[1])):n.search(/yahoo.com/)>=0&&(e=/p=(.*?)\&/,(t=n.match(e))&&t.length&&t[1]&&(r=t[1])),r=decodeURIComponent(r),QSI.profile.set("History","SearchTerm",r)}},logReferrer:function(){var e=this.getReferrer();e&&(QSI.util.build("a",{href:e}).hostname!==document.location.host&&QSI.profile.set("History","SiteReferrer",e),QSI.profile.set("History","PageReferrer",e))},logIntercept:function(e,t){t&&this.logActionSet(t)},logActionSet:function(e){if(e.search("AS_")>=0){var t=e,n=1*new Date;QSI.profile.set("ActionSetHistory",t,n),QSI.profile.set("ActionSetHistory",t,n,1)}},logSurvey:function(e,t){QSI.profile.set("QualtricsSurveyHistory",e,t,1)},getSiteReferrer:function(){return QSI.profile.get("History","SiteReferrer")},getPageReferrer:function(){return QSI.profile.get("History","PageReferrer")},getSearch:function(){var e=QSI.profile.get("History","SearchTerm");return e||(e=""),e},getTimeOnSite:function(){var e=this.focusTime;return e+this.blurTime+"|"+e},getFocusTimeFromBrowserStorage:function(){var e=QSI.profile.get("History","FocusTime");return e||(e=0),e},getBlurTimeFromBrowserStorage:function(){var e=QSI.profile.get("History","BlurTime");return e||(e=0),e},getActionSetHistory:function(e,t){var n=QSI.profile.get("ActionSetHistory",e,t);return n||(n=0),n},getPageCount:function(){var e,t,n=this.historyStorage.getHistorySessionData(),r=0,o=[];if(n){var i=(n=decodeURIComponent(n)).split("|");for(t=i.length,e=0;eNumber(t.style.zIndex)?1:0});for(var n=0;nNumber(t.position.left)?1:0}),t=QSI.util.stableSort(t,function(e,t){return Number(e.position.top)Number(t.position.top)?1:0}),e.Options.elements.Elements=t,e}return e}}},38:function(e,t,n){(function(t){var n="Expected a function",r=NaN,o="[object Symbol]",i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,l="object"==typeof t&&t&&t.Object===Object&&t,d="object"==typeof self&&self&&self.Object===Object&&self,g=l||d||Function("return this")(),p=Object.prototype.toString,f=Math.max,h=Math.min,I=function(){return g.Date.now()};function S(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function w(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&p.call(e)==o}(e))return r;if(S(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=S(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=s.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):a.test(e)?r:+e}e.exports=function(e,t,r){var o,i,a,s,c,u,l=0,d=!1,g=!1,p=!0;if("function"!=typeof e)throw new TypeError(n);function v(t){var n=o,r=i;return o=i=void 0,l=t,s=e.apply(r,n)}function y(e){var n=e-u;return void 0===u||n>=t||n<0||g&&e-l>=a}function b(){var e=I();if(y(e))return m(e);c=setTimeout(b,function(e){var n=t-(e-u);return g?h(n,a-(e-l)):n}(e))}function m(e){return c=void 0,p&&o?v(e):(o=i=void 0,s)}function Q(){var e=I(),n=y(e);if(o=arguments,i=this,u=e,n){if(void 0===c)return function(e){return l=e,c=setTimeout(b,t),d?v(e):s}(u);if(g)return c=setTimeout(b,t),v(u)}return void 0===c&&(c=setTimeout(b,t)),s}return t=w(t)||0,S(r)&&(d=!!r.leading,a=(g="maxWait"in r)?f(w(r.maxWait)||0,t):a,p="trailing"in r?!!r.trailing:p),Q.cancel=function(){void 0!==c&&clearTimeout(c),l=0,o=u=i=c=void 0},Q.flush=function(){return void 0===c?s:m(I())},Q}}).call(this,n(39))},39:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},62:function(e,t,n){"use strict";n.r(t);n(34),n(35),n(36),n(37);var r,o=n(19),i=function(){return function(){var e=this;this.trackElements=function(){if(0==e.loaded){e.loadCounts();var t=window.QSI,n=t.dbg,r=t.global.eventTrackers;Object.keys(r).forEach(function(t){var n=r[t];e.trackElement(n,t)}),Object(o.d)(window,"beforeunload",function(){try{e.storeCounts()}catch(e){void 0!==window.QSI&&n&&n.e&&n.e(e)}}),e.loaded=!0}},this.trackElement=function(t,n){var r=window.QSI.dbg,i=Object(o.a)(t);i&&Object(o.d)(i,"click",function(){try{e.track(n)}catch(e){void 0!==window.QSI&&r&&r.e&&r.e(e)}})},this.track=function(t){e.clicked=!0,e.counts[t]?e.counts[t]++:e.counts[t]=1},this.storeCounts=function(){if(!0===e.clicked){var t=window.QSI.cookie,n=JSON.stringify(e.counts);t.set(e.cookieName,n)}},this.loadCounts=function(){var t=window.QSI.cookie.get(e.cookieName);t&&(e.counts=JSON.parse(t))},this.get=function(t){return e.counts[t]?e.counts[t]:0},this.incrementEventList=function(){if("_qsie"in window&&Object(o.b)(window._qsie))for(var t=0,n=window._qsie.length;t0&&(e.totalJSTransfer=t),e}catch(e){return null}},this.send=function(){try{if(null===n.overallLatency)return void n.debugLog.e("Incomplete Latency Data Provided");var t=a.a.baseURL+"Ajax.php?action=LatencyLog&"+a.a.getClientVersionQueryString(),r=[];for(var o in a.a.Request)Object.prototype.hasOwnProperty.call(a.a.Request,o)&&o!==n.requestId&&r.push(o);var i={MetricName:e.metricName,Latency:n.overallLatency,ComponentLatencies:n.componentLatencies,AdditionalData:{RequestID:n.requestId,ClientURL:a.a.currentURL,UserAgent:navigator.userAgent,BrandID:a.a.global.brandID,BrandDC:a.a.global.brandDC,OtherRequestIDsExecuted:r,IsDuplicateScriptExecution:n.isDuplicateScriptExecution}},s=n.getPerformanceResourceTiming();s&&Object.keys(s).length&&(i.PerformanceResourceTiming=s),QSI.util.sendHttpRequest({type:"POST",url:t,header:{"Content-type":"application/x-www-form-urlencoded"},includeCookies:!1,data:QSI.util.buildQueryString({LoggingData:JSON.stringify(i)})})}catch(e){n.debugLog.e(e)}},this.sampledSend=function(e){try{Math.random()<=e/100==!0&&n.send()}catch(e){n.debugLog.e(e)}},this.debugLog=t}return e.metricName="si.SILatency",e.alreadyFetchedMarker="ALREADY_FETCHED",e.components={CORE_MODULE:"coreModuleRequest",TARGETING:"targetingRequest",DPR_TARGETING:"dprTargetingRequest",XMD_DEBUG_TARGETING:"xmdDebugTargetingRequest",ASSETS_AND_MODULES:"allAssetDefinitionsAndJSModules",CONTACT_FREQUENCY:"contactFrequencyCheck"},e}(),c=function(){function e(e,t,n){this.retryerName=e,this.retryLimit=t,this.retryBackOffFormula=n,this.retryCount=0}return e.prototype.backOffAndRetry=function(e){this.retryCount0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&(n.e(4).then(n.bind(null,65)).then(function(e){(0,e.addPopunderEmbeddedDataHandler)(e.updatePopunderEDCallback)}),t.loadModules(s,o)),[2]}})})},e.qualtricsPush=function(){for(var e=[],t=0;t0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]200&&(n=this.reduceContactEmbeddedDataToLegalSize(n,200),this.debugLog.e("Contact embedded data input exceeds size limit: 200, only keeps first 200 and drop extra items"));var r=this.constructLegitimateContactEmbeddedData(n);if(Object.keys(r).length>0){var o=JSON.stringify(r);e+="&contactEmbeddedData="+encodeURIComponent(o)}}}return e+=this.getCJAEventData()},e.prototype.xmdContactInfoIsValid=function(e,t){return e.length<=t},e.prototype.getCJAEventData=function(){var e=new Date;return"&Timestamp="+encodeURIComponent(e.toISOString())},e.prototype.reduceContactEmbeddedDataToLegalSize=function(e,t){for(var n={},r=0,o=Object.entries(e).slice(0,t);r 100 characters, value > 200 characters or contains undefined value for key: "+i+"}")}return t},e.prototype.generateTargetingURL=function(e){var t=a.a.baseURL+"Targeting.php?",n=[];e.InterceptID&&n.push("Q_InterceptID="+e.InterceptID),e.ZoneID&&n.push("Q_ZoneID="+e.ZoneID),e.Q_XMD_DEBUG?n.push("Q_XMD_DEBUG"):(null===e.Q_DEBUG&&(n.push("Q_DEBUG"),a.a.isDebug=!0),null===e.Q_BOOKMARKLET&&n.push("Q_BOOKMARKLET")),null===e.Q_NOCACHE&&n.push("Q_NOCACHE"),void 0!==e.version&&null!==e.version&&n.push("Version="+e.version);var r=window.QSI.profile.get("QualtricsSurveyHistory","",1);if(r){var o=encodeURIComponent(Object.keys(r).toString());n.push("Q_QualtricsSurveyTaken="+o)}return void 0!==e.Q_CLIENTVERSION&&null!==e.Q_CLIENTVERSION&&n.push("Q_CLIENTVERSION="+e.Q_CLIENTVERSION),void 0!==e.Q_CLIENTTYPE&&null!==e.Q_CLIENTTYPE&&n.push("Q_CLIENTTYPE="+e.Q_CLIENTTYPE),e.Q_EXT_REF&&n.push("Q_EXT_REF"),t+n.join("&")},e.prototype.isMessageEventOriginAllowed=function(e){if(a.a.reg)for(var t in a.a.reg)if(Object.prototype.hasOwnProperty.call(a.a.reg,t)&&a.a.reg[t]&&a.a.reg[t].options){var n=a.a.reg[t].options;if(n.targetURLOrigin===e)return!0;if(n.target&&n.target.OriginalURLOrigin===e)return!0}return!1},e.prototype.doCSTargetingEvaluation=function(e,t,n){return w(this,void 0,void 0,function(){var r,o,i,s,c,u=this;return v(this,function(l){switch(l.label){case 0:return function(e){e.EMBEDDED_TARGET="EmbeddedTarget"}(r||(r={})),Array.isArray(e.ClientSideIntercepts)?(o=window.QSI.ClientSideTargeting,e.Intercepts=[],i={Intercepts:{},Type:a.a.config.editing?"Editing":"Published"},s={FirstDCFInterceptPassed:!1},c=e.ClientSideIntercepts.map(function(c){return w(u,void 0,void 0,function(){var u,l,d,g=this;return v(this,function(p){switch(p.label){case 0:return c?c.Error?(this.debugLog.log(c.Message),[3,3]):[3,1]:[3,3];case 1:return[4,new Promise(function(e,t){setTimeout(function(){try{var n=void 0,r=window.QSI.DataLayerHelper;r&&r.hasInterceptAlreadyRun(c.InterceptID)?n=g.getInterceptEvaluationResult(c.InterceptID):(n=o.evaluateIntercept(c,s,a.a.isDebug),window.QSI.global.featureFlags["DX.GoogleDataLayer"]&&g.addInterceptEvaluationResult(c.InterceptID,n)),e(n)}catch(e){t(e)}})})];case 2:u=p.sent(),l=u.interceptEntry,d=u.interceptDebugInfo,i.Intercepts[c.InterceptID]=d,l&&(window.QSI.DataLayerHelper&&window.QSI.DataLayerHelper.hasInterceptAlreadyRun(l.InterceptID)||(t.Intercepts[c.InterceptID]={},t.Intercepts[c.InterceptID].Targeting=l,e.Intercepts.push(l),l.Decision.Creative&&(l.Decision.Creative.Type&&(e.Modules[l.Decision.Creative.Type]=n),l.Decision.PopUnderTarget&&(e.Modules.PopUnder=n)),l.Decision.Target&&l.Decision.Target.DisplayType===r.EMBEDDED_TARGET&&(e.Modules.EmbeddedTarget=n))),p.label=3;case 3:return[2]}})})}),[4,Promise.all(c)]):[2];case 1:return l.sent(),e.Intercepts.length>0&&(e.Modules.ScreenCapture=n,window.QSI.DataLayerHelper&&e.Intercepts.forEach(function(e){var t=e.InterceptID;window.QSI.DataLayerHelper.interceptHasRun.add(t)})),a.a.isDebug&&(e.DebugInfo=JSON.stringify(i)),delete e.Modules.DependencyResolver,[2]}})})},e.prototype.handleTargetingResponse=function(e,t){var r=this,o=window.QSI,i=o.AssetManager,s=o.API,c=o.EventTracker,u=o.history;try{var l;if("SampleRejected"===t)return;try{l=JSON.parse(t)}catch(e){return void this.debugLog.e("Failed to parse JSON of targeting response: "+t)}if(l.Error)return void this.debugLog.e(l.Message);if("XMD_RETRY"===l.Message)return void this.targetingRetryer.backOffAndRetry(function(){r.load(e,!0)});var d=l.Modules;this.setGlobalVars(l);var g=this.isBrowserSupported();if("EXTREF_RETRY"===l.Message){if(d.Core&&g)i.promiseLoadScript("Core",d.Core,a.a,this.latencyLog).then(function(){return w(r,void 0,void 0,function(){return v(this,function(t){return this.evaluateAndSetExternalReference(l),this.load(S(S({},e),{Q_EXT_REF:!0}),!1),[2]})})});return}if(l.RequestData&&l.RequestData.reevaluateInterceptOnUrlChange&&this.handleSPAEvaluation({onHashChange:!0,onUrlPathChange:!0}),u.logVisit(),!a.a.Request[e.id].hasDependencies&&a.a.Request[e.id].hasBeenResolved||(c.trackElements(),c.incrementEventList(),window._qsie=s.Events),a.a.global.featureFlags["DX.GoogleDataLayer"]&&(this.csTargetingParams={ioSiResponse:l,ioRequest:a.a.Request[e.id],clientVersion:a.a.global.clientVersion,params:e}),d.Core&&g)i.promiseLoadScript("Core",d.Core,a.a,this.latencyLog).then(function(){return w(r,void 0,void 0,function(){var t,r,o=this;return v(this,function(i){switch(i.label){case 0:return i.trys.push([0,4,,5]),t=window.QSI.ClientSideTargeting,a.a.global.featureFlags["DUX.ClientSideTargetingM1"]&&l.ClientSideIntercepts&&l.ClientSideIntercepts.length>0?(t.setEnabled(!0),[4,this.doCSTargetingEvaluation(l,a.a.Request[e.id],a.a.global.clientVersion)]):[3,2];case 1:return i.sent(),[3,3];case 2:l.Intercepts&&l.Intercepts.forEach(function(t){t&&(t.Error?o.debugLog.log(t.Message):(a.a.Request[e.id].Intercepts[t.InterceptID]={},a.a.Request[e.id].Intercepts[t.InterceptID].Targeting=t))}),i.label=3;case 3:return!l.Dependencies||a.a.global.featureFlags["DUX.ClientSideTargetingM1"]&&l.ClientSideIntercepts&&l.ClientSideIntercepts.length>0?(n.e(4).then(n.bind(null,65)).then(function(e){(0,e.addPopunderEmbeddedDataHandler)(e.updatePopunderEDCallback)}),this.shouldMakeXMDDebugCall()?(e.Q_XMD_DEBUG=!0,this.handleXMDDebug(e,l)):this.loadModules(e,l)):this.handleDependencyResolver(e,l),[3,5];case 4:return r=i.sent(),this.debugLog.e(r),[3,5];case 5:return[2]}})})},function(){});else this.doneLoading(e,l)}catch(e){this.debugLog.e(e)}},e.prototype.evaluateAndSetExternalReference=function(e){var t,n=e.RequestData.extRefType,r=e.RequestData.extRefValue;switch(n){case"JS":t=window.QSI.EmbeddedData.getJavaScriptValue(r).toString();break;case"Cookie":t=window.QSI.EmbeddedData.getCookieVal(r);break;case"HTML":t=window.QSI.EmbeddedData.getHTMLFromDOM(r);break;case"StaticValue":t=r;break;default:return void this.debugLog.log("Invalid type when evaluating external reference of type "+n+" and value "+r+" in "+e.RequestData.ID)}t&&(a.a.config.externalReference=t)},e.prototype.shouldMakeXMDDebugCall=function(){return!window.QSI.ClientSideTargeting.isEnabled()&&(!!a.a.config.externalReference&&a.a.isDebug)},e.prototype.handleDependencyResolver=function(e,t){var n=this,r=window.QSI.AssetManager,o=this.generateTargetingURL(e);o+="&t="+(new Date).getTime(),o+="&Q_VSI="+encodeURIComponent(JSON.stringify(t.RequestData.validIntercepts)),o+="&Q_DPR=true",this.latencyLog.startComponentTimer(s.components.DPR_TARGETING);var i="";for(var c in t.Dependencies)Object.prototype.hasOwnProperty.call(t.Dependencies,c)&&("SiteCatalyst"===c&&(QSI["Resolve"+c].rootName=a.a.adobeVar),i+=QSI["Resolve"+c].prepare(t.Dependencies[c]));i+="&"+this.getTargetingPostData(),r.promiseFetch("POST",o,i).then(function(){this.latencyLog.endComponentTimer(s.components.DPR_TARGETING)}).then(this.handleTargetingResponse.bind(this,e),function(t){n.debugLog.e(t.Message),e.deferred&&e.deferred.reject()})},e.prototype.handleXMDDebug=function(e,t){var n=this,r=window.QSI.AssetManager,o={};t.Intercepts.forEach(function(e){if(e.Decision&&e.Decision.ActionSetID){var t=e.InterceptID,n=e.Decision.ActionSetID;o[t]=n}});var i=this.generateTargetingURL(e),a="";a+=this.getTargetingPostData();var c=""+s.components.XMD_DEBUG_TARGETING+this.xmdDebugRetryer.getRetryCount();this.latencyLog.startComponentTimer(c),r.promiseFetch("POST",i,a).then(function(r){n.latencyLog.endComponentTimer(c),n.handleXMDDebugResponse(e,t,o,r)})},e.prototype.handleXMDDebugResponse=function(e,t,n,r){var o,i,s=this;try{o=JSON.parse(r)}catch(e){return void this.debugLog.e("Failed to parse JSON of Q_XMD_DEBUG targeting response: "+r)}if(a.a.isDebug)try{i=JSON.parse(t.DebugInfo)}catch(e){return void this.debugLog.e("Failed to parse debugInfo JSON of Q_DEBUG targeting response: "+t)}a.a.isDebug&&(o.Intercepts.forEach(function(e){if(e){var t=e.InterceptID;Object.prototype.hasOwnProperty.call(i.Intercepts,t)&&Object.prototype.hasOwnProperty.call(n,t)&&e.Error&&s.debugLog.log(e.Message)}}),o.DebugInfo=JSON.stringify(i),o.Modules.Debug=a.a.global.clientVersion),o.Intercepts.forEach(function(n){if(n)if(n.Error)s.debugLog.log(n.Message);else{for(var r=void 0,o=0;o0?r.latencyLog.send():r.latencyLog.sampledSend(a.a.global.latencySamplePercentage)),r.setGlobalIncludes(e,t);var o=a.a.Request[e.id].displayInterceptType,i=a.a.global.featureFlags["DUX.ClientSideTargetingM1"]&&t.ClientSideIntercepts&&t.ClientSideIntercepts.length>0;("manual"!==o&&!a.a.Request[e.id].zoneManualDisplay||a.a.Request[e.id].hasDependencies&&!i)&&n(e.id,!1),r.doneLoading(e,t),e.deferred&&e.deferred.resolve()})},e.prototype.isBrowserSupported=function(){return!("Chrome"===window.QSI.Browser.name&&window.QSI.Browser.version<=20)&&(!("Firefox"===window.QSI.Browser.name&&window.QSI.Browser.version<=59)&&!("Internet Explorer"===window.QSI.Browser.name&&window.QSI.Browser.version<=10))},e.prototype.setGlobalIncludes=function(e,t){if(a.a.isDebug&&t.DebugInfo){a.a.Request[e.id].Debug={debugInfo:JSON.parse(t.DebugInfo),version:t.RequestData.bVersion};var n={version:t.RequestData.bVersion,debugInfo:JSON.parse(t.DebugInfo)};a.a.debugConfig=n}a.a.version=t.RequestData.bVersion,a.a.InterceptsRan=!1,a.a.Request[e.id].hasDependencies=t.RequestData.hasDependencies,a.a.Request[e.id].hasBeenResolved=t.RequestData.hasBeenResolved,a.a.Request[e.id].displayInterceptType=t.RequestData.displayInterceptType,a.a.Request[e.id].zoneManualDisplay=t.RequestData.zoneManualDisplay},e.prototype.setGlobalVars=function(e){window.QSI.Browser={name:e.RequestData.browser,version:e.RequestData.browserVersion,isMobile:e.RequestData.isMobile,isBrowserSupported:e.RequestData.isBrowserSupported},window.QSI.CORSOrigin=e.RequestData.CORSOrigin,window.QSI.OS={name:e.RequestData.osName,version:e.RequestData.osVersion},window.QSI.config.gtmContainerID=e.RequestData.googleDataLayerVariable,a.a.global.brandID=e.RequestData.brandID,a.a.global.brandDC=e.RequestData.brandDC,a.a.global.graphicPath=a.a.overrides.graphicPath||"https://"+a.a.global.brandDC+"/WRQualtricsSiteIntercept/Graphic.php?IM=",a.a.global.imagePath=a.a.global.baseURL+"/WRQualtricsShared/Graphics",a.a.global.maxCookieSize=e.RequestData.maxCookieSize,a.a.global.featureFlags=e.FeatureFlags,a.a.global.screenCaptureServiceBaseURL=e.RequestData.screenCaptureServiceBaseURL,a.a.global.eventTrackers=e.RequestData.eventTrackers,a.a.adobeVar=e.RequestData.adobeSCVariable,a.a.id=e.RequestData.ID,a.a.reqID[e.RequestData.ID]=!0,a.a.CookieDomain=e.RequestData.cookieDomain,a.a.historyStorageType=e.RequestData.historyStorageType,a.a.historyStorageSize=e.RequestData.historyStorageSize,a.a.currentURL=window.location.href.split("?")[0],function(){var e=document.createElement("div");e.className="scrollbar-measure",e.style.width="100px",e.style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-99999px",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;a.a.scrollbarWidth=t,document.body.removeChild(e)}()},e.prototype.parseQueryString=function(e){var t={};if(e&&-1!==e.indexOf("?"))for(var n=e.split("?",2)[1].split("&"),r=0;r1?n:r.createArrayFromArguments(y([n],o)),--a||s.resolve(t)}};if(i>1)for(var u=0;u0?window.QSI.PendingQueue.push(e.loadHelper.bind(e,t)):e.loadHelper.bind(e,t)(),n}catch(e){window.QSI.dbg.e(e)}finally{window.QSI.dbg.log("DXJSAPIEvents: QSI.API.load()",!1,"info")}},this.unloadForSPA=function(){e.unloadBase(!0)},this.unload=function(){window.QSI.DataLayerHelper=void 0,e.unloadBase(!1)},this.unloadBase=function(t){void 0===t&&(t=!1);try{if(window.QSI.PendingQueue||(window.QSI.PendingQueue=[]),window.QSI.LoadingState&&window.QSI.LoadingState.length>0)return void(t?window.QSI.PendingQueue.push(window.QSI.API.unloadForSPA):window.QSI.PendingQueue.push(window.QSI.API.unload));if(e.unloading=!0,window.QSI.reg&&(window.QSI.util.forOwn(window.QSI.reg,function(e,t){window.QSI.reg[t].remove()}),window.QSI.util.removeObservers()),window.QSI.debug&&(window.QSI.util.remove(window.QSI.util.$("QSI_Debug")),window.QSI.debuggerHasDisplayed=!1),window.QSI.styleElements)for(var n=window.QSI.styleElements,r=0;r0)return void window.QSI.PendingQueue.push(window.QSI.API.run);window.QSI.InterceptsRan||void 0===window.QSI.reg||window.QSI.RunIntercepts(null,!0)}catch(e){window.QSI.dbg.e(e)}finally{window.QSI.dbg.log("DXJSAPIEvents: QSI.API.run()",!1,"info")}},this.getIntercept=function(e){return new Promise(function(e,t){try{window.QSI.PendingQueue||(window.QSI.PendingQueue=[]),window.QSI.LoadingState&&window.QSI.LoadingState.length>0?window.QSI.PendingQueue.push(function(){e()}):e()}catch(e){t(e)}}).then(function(){var t=window.QSI.Orchestrator.getInterceptFromSiResponse(e),n=t[0],r=t[1];if(!n)throw e+" is not a valid Intercept ID";return L.getInstance(O({},n),r?O({},r):null)}).catch(function(e){throw window.QSI.dbg.e(e),e}).finally(function(){window.QSI.dbg.log("DXJSAPIEvents: QSI.API.getIntercept()",!1,"info")})}}return e.prototype.loadHelper=function(e){try{if(window.QSI.reg||this.unloading)return void e.reject();void 0===window.QSI.reg&&(window.QSI.reg={}),void 0===window.QSI.ed&&(window.QSI.ed={}),void 0===window.QSI.reqID&&(window.QSI.reqID={}),void 0===window.QSI.Request&&(window.QSI.Request={}),void 0===window.QSI.styleElements&&(window.QSI.styleElements=[]),window.QSI.util.forOwn(window.QSI.reqID,function(t,n){var r={loadingFromAPI:!0};r.id=n,"Editing"===window.QSI.version&&(r.version="0"),void 0!==window.QSI.global.clientVersion&&null!==window.QSI.global.clientVersion&&(r.Q_CLIENTVERSION=window.QSI.global.clientVersion),void 0!==window.QSI.global.clientType&&null!==window.QSI.global.clientType&&(r.Q_CLIENTTYPE=window.QSI.global.clientType,void 0!==window.QSI.clientTypeVariant&&(r.Q_CLIENTTYPE+=window.QSI.clientTypeVariant)),0===n.search(/ZN/)?r.ZoneID=n:r.InterceptID=n,window.QSI.isDebug&&(r.Q_DEBUG=null),r.deferred=e,window.QSI.Orchestrator.load(r,!1)})}catch(e){window.QSI.dbg.e(e)}},e}();function k(e){var t=new m,n=new s(t);window.QSI.API=window.QSI.API||new A,window.QSI.ClientLog=new Q,window.QSI.dbg=t,window.QSI.LatencyLog=n,window.QSI.EventTracker=new i,window.QSI.cookie=new D,window.QSI.CookieStorage=new C,window.QSI.Orchestrator=new b,window.QSI.Orchestrator.init(n,t,e)}n.d(t,"initialize",function(){return k})}}]);}catch(e){if(typeof QSI!=='undefined'&&QSI.dbg&&QSI.dbg.e){QSI.dbg.e(e);}}